package booksystem.dao;

import booksystem.entity.Order;

import java.util.List;

public interface OrderDao {
    // 添加订单
    public int save(Order order);
    // 查询当前用户订单
    public List<Order> getCurrentUserOrder(String id);
    // 查询所有订单
    public List<Order> getAllOrder();
    // 删除订单
    public int deleteOrder(String id);
}
